package com.fnzn.entranceGuard.entity;

/**
 * @author wf_sxf@163.com
 * @date 2018-05-28 11:09
 */
public class QR {
    private String userId;
    private String time;
    private String deviceId;
    private boolean isShare;//是否分享
    private String shareId;
    //二维码状态ID
    private String qrId;
    public QR() {
       super();
    }

    public QR(String userId, String time) {
        this.userId = userId;
        this.time = time;
    }
    public QR(String userId, String time,String qrId) {
        this.userId = userId;
        this.time = time;
        this.qrId=qrId;
    }
    public QR(String userId, String time,String qrId,boolean isShare,String shareId) {
        this.userId = userId;
        this.time = time;
        this.qrId=qrId;
        this.isShare=isShare;
        this.shareId=shareId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getQrId() {
        return qrId;
    }

    public void setQrId(String qrId) {
        this.qrId = qrId;
    }

    public boolean isShare() {
        return isShare;
    }

    public void setShare(boolean share) {
        isShare = share;
    }

    public String getShareId() {
        return shareId;
    }

    public void setShareId(String shareId) {
        this.shareId = shareId;
    }
}
